package com.umakr.ax.core.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 *
 * @author ~scl
 * @date 2017/5/22
 */
@PropertySource("classpath:config/docker-java.properties")
@ConfigurationProperties("docker")
@Component
public class DockerModel {

    private String host;
    private String config;
    private String baseDockerFileDir;

    private String cadvisorUrl;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getConfig() {
        return config;
    }

    public void setConfig(String config) {
        this.config = config;
    }

    public String getBaseDockerFileDir() {
        return baseDockerFileDir;
    }

    public void setBaseDockerFileDir(String baseDockerFileDir) {
        this.baseDockerFileDir = baseDockerFileDir;
    }

    public String getCadvisorUrl() {
        return cadvisorUrl;
    }

    public void setCadvisorUrl(String cadvisorUrl) {
        this.cadvisorUrl = cadvisorUrl;
    }
}
